//package com.jintu.portal.utils;
//
//import com.jintu.portal.pojo.entity.TSysOperationLog;
//
///**
// * Created by liyou on 2017/9/22.
// */
//public class LogUtil {
//
//    private static CommonService commonService = (CommonService)SpringContextUtil.getContext().getBean(CommonService.class);
//
//    public static void addOprationLog(final TSysOperationLog operationLog) {
//        ThreadUtil.INSTANCE.excute(new Runnable() {
//            public void run() {
//                commonService.saveOperationLog(operationLog);
//            }
//        });
//    }
//
//    public static void addInterLog(final TInterLog interLog) {
//        ThreadUtil.INSTANCE.excute(new Runnable() {
//            public void run() {
//                commonService.saveInterLog(interLog);
//            }
//        });
//    }
//}
